<%--
  Created by IntelliJ IDEA.
  User: 13044
  Date: 2020/5/27
  Time: 14:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script src="/js/jquery.js"></script>
    <script src="/js/newsSelect.js"></script>
</head>
<body>
<div>
    新闻标题:<input type="text" id="title">
    新闻内容:<input type="text" id="content">
    是否置顶:
    <select id="isTop">
        <option value="-1">请选择</option>
        <option value="1">置顶</option>
        <option value="0">不置顶</option>
    </select>
    <%--    是否显示<input type="checkbox" id="status" name="status" checked>--%>
    是否显示
    <select id="status">
        <option value="-1">请选择</option>
        <option value="1">显示</option>
        <option value="0">不显示</option>
    </select>
    <input type="button" value="查询" onclick="setPageSizeAndSartNum('')">
</div>
<table class="table table-condensed">
    <thead>
    <tr>
        <td>ID</td>
        <td>新闻标题</td>
        <td>内容</td>
        <td>是否置顶</td>
        <td>是否显示</td>
        <td>作者</td>
        <td>创建时间</td>
        <td>操作</td>
    </tr>
    </thead>
    <tbody id="backNewsSelectData">
    <tr>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
        <td>编辑 删除</td>
    </tr>
    </tbody>
</table>
<%--SELECT * FROM news  where  a=aa and b=ads limit 开始数,数多少条   10，  20--%>
<jsp:include page="/back/page.jsp"></jsp:include>
</body>
</html>
